/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.lihle.designconceptsprinciples.question3.interfacesegregation.obey.model.impl;

import com.lihle.designconceptsprinciples.question3.interfacesegregation.obey.model.FeedableInterface;
import com.lihle.designconceptsprinciples.question3.interfacesegregation.obey.model.WorkableInterface;

/**
 *
 * @author user
 */
public class SuperWork implements WorkableInterface, FeedableInterface {

    String work =" work";
    String eat = "eat";

    @Override
    public boolean work(String emp) {
      if(work.equals("no work"))
          return true;
        else
          return false;
    }

    @Override
    public boolean eat(String e) {
        if(eat.equals("no eat"))
          return true;
        else
          return false;
    }
    
}
